package com.mf.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: lmf
 * @Create: 2024/6/11 8:35
 * Description:
 */
@Getter
@Setter
@ToString
public class TransactionsBatchBo {

    @Size(min = 1,message = "股票代码数组不能为空")
    private List<String> dms;

    /**
     * 日期
     */
    @NotBlank(message = "买入时间不能为空")
    private String date;

    /**
     * 交易类型 buy:买入,sell:卖出
     */
    @NotBlank(message = "交易类型不能为空")
    private String type;

    /**
     * 类型:为什么买入或卖出 数据字典
     */
    @NotBlank(message = "类型不能为空")
    private String type2;

    @NotNull(message = "用户id不能为空")
    private Integer userId;
    private String remark;
}
